/**
 * @Description TODO
 * @Author hhy
 * @Date 2020/10/20 15:33
 */
public class Student {
    private Integer id;
    private String name;
    private Double greade;

    @Override
    public String toString() {
        return "Student{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", greade=" + greade +
                '}';
    }

    public Integer getId() {

        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Double getGreade() {
        return greade;
    }

    public void setGreade(Double greade) {
        this.greade = greade;
    }

    public Student(Integer id, String name, Double greade) {
        this.id = id;
        this.name = name;
        this.greade = greade;
    }
}
